﻿using System;
using System.Threading.Tasks;
using Abp.Application.Services;
using Magicodes.WeChat.SDK.Apis.TemplateMessage;

namespace Magicodes.WeChat.Application.TemplateMessage
{
    public interface IWeChatTemplateMessageAppService : IApplicationService
    {
        Task<TemplateMessageAddTemplateAPIResult> AddTemplate(string shortId);

        Task<TemplateMessageGetAPIResult> GetAll();

        Task Remove(string templatId);

        Task<Guid> Send(TemplateMessageCreateModel model);
    }
}